import App from "./App";
import store from "@/utils/store/index.js";
// #ifndef VUE3
import Vue from "vue";
Vue.config.productionTip = false;
App.mpType = "app";
const app = new Vue({
	...App,
	store,
});
app.$mount();
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from "vue";
export function createApp() {
	const app = createSSRApp(App);
	return {
		app,
		store,
	};
}
// #endif

import uView from "uview-ui";
Vue.use(uView);
import charts from "@/components/echarts.vue"
Vue.component('charts', charts)
// 自定义底部导航组件
import tabBar from "@/components/myTabBar.vue"
Vue.component('tabBar', tabBar)
//全局api引入挂载
import http from "api/index";
Vue.prototype.$http = http;
import ProjectConfig from "@/static/config.base.js";
Vue.prototype.ProjectConfig = ProjectConfig;